cmake_minimum_required(VERSION 3.4.1)

add_definitions(-DENABLE_CJSON_GLOBAL)

include_directories(../lua)

aux_source_directory(. SRC_LIST)

add_library(cjson SHARED ${SRC_LIST})

target_link_libraries(cjson lua)